<?php
	$reback = '1';
	include_once 'conn/conn.php';
	$rd = $_GET['rd'];
	$arr = explode(",",$rd);
	for($i = 0; $i < count($arr); $i++){
		$sql = "delete from schools where id='".$arr[$i]."'";
		//echo $sql;
		if(false == ($rst = $conn->execute($sql))){
			$reback = '0';
			//echo $conn->errormsg();
			break;
		}
	}
	echo $reback;
?>